package com.otoe.dilidilivid.data.entity;

import com.otoe.dilidilivid.R;

import java.io.Serializable;

public class VideoInfo implements Serializable {
    public int vid;
    public String title;
    public String uname;
    public String videoUrl;
    public String tags;
    public int playNums;
    public int imgUrl;
    public String img;
    public String duration;

    public VideoInfo(String title, String duration, int playNum, String upName, int show){
        this.title=title;
        this.duration=duration;
        this.playNums =playNum;
        this.uname =upName;
        this.imgUrl =show;
    }
    public VideoInfo(){}
    public VideoInfo(String title,String duration,int playNum,String upName){
        this.title=title;
        this.duration=duration;
        this.playNums =playNum;
        this.uname =upName;
        this.imgUrl = R.drawable.default_img;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public int getVid() {
        return vid;
    }

    public void setVid(int vid) {
        this.vid = vid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public int getPlayNums() {
        return playNums;
    }

    public void setPlayNums(int playNums) {
        this.playNums = playNums;
    }

    public int getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(int imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }
}
